﻿using System;
using System.Collections.Generic;
using System.Text;
using YSC_Core.BLL.Domain.CommonModels;

namespace YSC_Services.BLL.Services_Web.Interfaces
{
    /// <summary>
    /// 基础接口
    /// </summary>
    public interface IBasisAppServices
    {
        /// <summary>
        /// 地区列表
        /// </summary>
        /// <param name="level">等级:1省份2市3区</param>
        /// <param name="code">上级编码</param>
        /// <param name="name">城市名称</param>
        /// <returns></returns>
        ReturnValueModel GetAreaAll(int level, string code, string name);

        /// <summary>
        /// 基础数据
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        ReturnValueModel GetDictionaryAll(string type);

        /// <summary>
        /// 市场列表
        /// </summary>
        /// <param name="userId">用户Id</param>
        /// <returns></returns>
        ReturnValueModel GetMarketUnitAll(string userId);

        /// <summary>
        /// 鱼种列表
        /// </summary>
        /// <param name="fishType">鱼种类别</param>
        /// <returns></returns>
        ReturnValueModel GetFingerlingTypeAll(string fishType);

        /// <summary>
        /// 鱼种规格
        /// </summary>
        /// <param name="fishCode"></param>
        /// <returns></returns>
        ReturnValueModel GetDesciptionAll(string fishName);
    }
}
